﻿<script src="js/jquery/jquery.metadata.js" type="text/javascript"></script>
<script src="js/jquery/jquery_validate/jquery.validate.js" type="text/javascript"></script>
<script src="js/jquery/jquery_validate/messages_cn.js" type="text/javascript"></script>
<style type="text/css">
	label.error { float: none; color: red; padding-left: .5em; vertical-align: top; }
</style>
<script type="text/javascript">
	$.validator.addMethod("selected", function(value) {
		return value != "-1";
	}, '必须选择一个值');
</script>